﻿using System.IO;
using System.Reflection;

namespace Needle.DevToolkit.Tests.Workspace.Data
{
    internal class TestData
    {
        public static Stream GetStream(string resource)
        {
            return Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(TestData), resource);
        }
        public static TextReader GetTextReader(string resource)
        {
            return new StreamReader(Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(TestData), resource));
        }
    }
}
